/** CS2340 Spring 2011 Project
 *  Team: 40 Jiggawatt Hard Driver
 *  Suk Hwan Hong
 *  Rhys Saraceni
 *  Travis Cooper
 *  Luke Stubb
 *
 * @author 40 Jiggawatt Hard Driver
 * @version 1.0 
 */

package edu.gatech.jiggawatt.office.model;

import java.io.Serializable;

/**
 * Represents Bill
 * @author 40 jiggawatt Hard Driver
 * @version 1.0
 *
 */
public class Bill implements Serializable // $codepro.audit.disable declareDefaultConstructors
{
	private String description;
	private double amount;
	
	/**
	 * Creates bill
	 * @param description description of bill
	 * @param amount amount of bill
	 */
	public Bill(String description, double amount)
	{
		this.setDescription(description);
		this.setAmount(amount);
	}

	/**
	 * sets description
	 * @param description description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * sets gets description
	 * @return description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * sets amount
	 * @param amount
	 */
	public void setAmount(double amount) {
		this.amount = amount;
	}

	/**
	 * gets amount
	 * @return amount
	 */
	public double getAmount() {
		return amount;
	}
	
	/**
	 * returns string format of bill
	 * @return string format of bill
	 */
	public String toString()
	{
		return "Description: " + description + " Amount: $:" + amount; // $codepro.audit.disable stringLiterals
	}
}
